Hi All |
Re: Diff function with attributes containing OLE objects
"diff" is for raw text.
In which case you ARE using raw text and no surprise "diff" isn't seeing the OLE at all. string Source = richTextWithOle(o."SourceAttr") o."CopiedAttr" = richText(Source) string Copied = richTextWithOle(o."CopiedAttr") if (Source == Copied) then Louie is wrong.
|
Re: Diff function with attributes containing OLE objects llandale - Tue Mar 26 15:28:56 EDT 2013
"diff" is for raw text.
In which case you ARE using raw text and no surprise "diff" isn't seeing the OLE at all. string Source = richTextWithOle(o."SourceAttr") o."CopiedAttr" = richText(Source) string Copied = richTextWithOle(o."CopiedAttr") if (Source == Copied) then Louie is wrong.
What I want to do is to keep my OLE objects in the result of the Diff. I don't want to make a diff on OLE object I would like to compare only the text from 2 "Object Text" keeping inserted OLE objects (Word or jpeg) in the result. But I understand it is not possible if the diff is done for raw text. In the attached file, I would like to keep my OLE object in the "Wording after" column David Attachments attachment_14961690_diff.JPG |
Re: Diff function with attributes containing OLE objects It's been a couple years since this thread had activity and I wondered if anyone has any new approaches to this problem or if any new functionality in DXL provides a solution? To restate the situation: I need to compare the contents of an object attribute to another object attribute. The redlined result of the comparison must go in a separate attribute. This is repeated for each object in the view. It is important that any OLEs and Pictures are retained (if not intentionally deleted) so that the comparison doesn't give the impression that the OLE or Picture was deleted when it was not! Thanks in advance! |